#


import logging
import asyncio

from pyppeteer import launch

from src.common.mem_data import MemData
from src.common.utils import input_time_random

LOG = logging.getLogger()


class GotoBusiness(object):
    def __init__(self):
        self.page = MemData.page
        self.url = 'https://www.taobao.com'

    async def goto_business(self):
        await self.page.goto('https://trade.taobao.com/trade/itemlist/list_sold_items.htm')
        await asyncio.sleep(1)

    async def run(self):
        await self.goto_business()
